<?php
/**
 * Created by PhpStorm.
 * Author:王晓云
 * Date: 2017/12/24 0024
 * Time: 10:27
 */

namespace app\admin\controller;


use think\Controller;

class comm extends Controller
{
   public function _initialize()
   {
       if(!session('?admin')){
           $this->error("你还没有登录！请登录~~","Login/login");
       }
   }
}